package org.itboys.mobile.service.mongo.mobile;

import org.itboys.mobile.entity.mongo.PushMessage;
import org.itboys.mongodb.core.MongoDataSource;
import org.itboys.mongodb.service.BaseService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * Created on 2017/11/1.
 * @author 朱坤涛
 */
@Service
public class PushMessageService extends BaseService<PushMessage,Long>{
    @Resource(name="adminDS")
    private MongoDataSource dictDataSource;

    protected MongoDataSource getMongoDataSource() {
        return dictDataSource;
    }

    protected Class<PushMessage> getEntityClass() {
        return PushMessage.class;
    }
}
